import 'package:flutter_easyloading/flutter_easyloading.dart';

///
/// 网络请求等待页面处理
///
class Loading {
  static void show({String? status}) {
    EasyLoading.show(status: status);
  }

  static void dismiss() {
    EasyLoading.dismiss();
  }

  static void showProgress(double value, {String? status}) {
    EasyLoading.showProgress(value, status: status);
  }

  static void showInfo(String status) {
    EasyLoading.showInfo(status);
  }

}
